Hello, and welcome back to the next module of this
course, decision control. In the previous module, you understood
sequences, control-flow, and the different
types of control-flow, namely, decision based
and iteration based. By the end of this module, you will be able to understand, if and switch activities, that fall under
the decision based control flow and the
difference between, if and switch activities. In this video, you
will understand the if activity. So,
let's get started. In studio, the if activity contains a statement
with a condition attached and two sets
of instructions as outcomes, then and else. Then, contains the
set of actions to be executed when the
condition is true, and else contains
the set of actions to be executed when the
condition is false. The if activity
is useful to make decisions based on the
value of variables. You will see the use of if activity in the upcoming
demonstration video, wherein a workflow is built that displays whether the user
has passed the exam. I would encourage
you to go through the demonstration and attempt
to repeat it on your own. That's it for this video.
Thanks for watching.